Skip to main content

Mini-Store SDK

A tiny TypeScript helper that lets a mini-store web page talk to the Giftme wallet's Flutter WebView.

Use it to:

  • Open the native pay sheet and complete a purchase.
  • Request a one-time OAuth code so you can call Giftme's REST API.
  • Detect whether the page is actually running inside Giftme's WebView.

The SDK is a very thin wrapper around the JavaScript bridge that the Giftme app injects (window.giftme_jsbridge / flutter_inappwebview).

All heavy lifting happens natively — the SDK just gives you a clean Promise-based API.

Compatibility

  • Giftme Android v3.9.0+
  • Giftme iOS v3.9.0+

Older app versions did not inject the giftme_jsbridge and will not work with this SDK.

TypeScript

The package ships with full .d.ts files — you get autocomplete and type-safety out of the box.